package cn.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.ssm.pojo.Teacher;

@Repository("TeacherMapper")
public interface TeacherMapper {
	public List<Teacher> getTeacherList(@Param("form")int form,@Param("pageSize")int pageSize);
	public int deleteTeacher(Integer id);
	public int addTeacher(Teacher teacher);
	public int updateTeacher(Teacher teacher);
	public int selectTeaCount();
	public Teacher getTeacherListById(int id);
	public List<Teacher> getTeacherList1();
	public int selectIdByName(@Param("teacherName")String  teacherName);
	
}
